package com.kamistoat.meimeimall.meimeimallorder.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

/**
 * 已弃用 Feign接口定义
 */
@FeignClient("meimeimall-coupon")
public interface CouponFeignService {
    @GetMapping("meimeimallcoupon/spubounds/getBoundsBySpuId")
    BigDecimal[] getBoundsBySpuId(@RequestParam Long spuId);
}
